package com.lf.service;
 
import com.lf.entity.ResponseWrapper;
import org.springframework.web.multipart.MultipartFile;
 
import java.io.IOException;
 
/**
 * @aouhor YangHuiLiang
 * @create 2019/6/27
 */
public interface OcrService {
    /**
     * 上传文件到ftp服务器上
     * @param multipartFile
     * @return
     * @throws IOException
     */
    String fileUpload(MultipartFile multipartFile) throws IOException;
 
 
    /**
     * 根据图片名删除图片
     * @param fileName
     * @return
     */
    boolean deleteFile(String fileName);

    /**
     * 实现
     * @return
     * @throws Exception
     */
    ResponseWrapper updateText() throws Exception;
    /**
     * 实现
     * @return
     * @throws Exception
     */
    ResponseWrapper getText() throws Exception;
}